package homeworkoo01;

public class Airplane{
    String color;
    int  speed;
    int price;

    Airplane(String color,int speed,int price){
        this.color=color;
        this.speed=speed;
        this.price=price;
    }
    void fly(){
        System.out.println("一架"+color+"颜色的，飞行速度"+speed+"km/h"+"，售价"+price+"的飞机起飞咯");
    }
}


